package o;

import com.huawei.appgallery.payzone.api.IPayZoneActivityProtocol;
import com.huawei.appmarket.service.activitydispatcher.OpenGateway.Param;
import com.huawei.appmarket.service.activitydispatcher.OpenGateway.d;
import java.util.List;

public class ecx extends d {
    public boolean ˋ(List<Param> list) {
        return false;
    }

    public fjb ˏ(List<Param> list) {
        if (list == null) {
            return null;
        }
        String str = null;
        String str2 = null;
        for (Param param : list) {
            if (param != null) {
                if ("AppDetailActivity.Card.URI".equals(param.ˋ())) {
                    str2 = param.ˏ();
                } else {
                    String ˏ;
                    if ("payid".equals(param.ˋ())) {
                        ˏ = param.ˏ();
                    } else {
                        ˏ = str;
                    }
                    str = ˏ;
                }
            }
        }
        fhz ˋ = fho.ˏ().ˋ("PayZone");
        if (ˋ == null) {
            return null;
        }
        fjb ˎ = ˋ.ˎ("PayZoneActivity");
        IPayZoneActivityProtocol iPayZoneActivityProtocol = (IPayZoneActivityProtocol) ˎ.ˊ();
        iPayZoneActivityProtocol.setPayid(str);
        iPayZoneActivityProtocol.setUri(str2);
        return ˎ;
    }
}
